package com.lyj.mode.appearance;

/**
 * 测试类
 * @author:liyajie
 * @createTime:2022/3/2 14:47
 * @version:1.0
 */
public class Test {
    public static void main(String[] args) {
        HomeTheaterFacade homeTheaterFacade = new HomeTheaterFacade(Player.getInstance(),Popcorn.getInstance(),Projector.getInstance(),Stereo.getInstance());
        homeTheaterFacade.ready();
        homeTheaterFacade.play();
        homeTheaterFacade.end();
    }
}
